//
//  WYCTransLationModel.m
//  信用卡管理
//
//  Created by 中企互联 on 2017/11/9.
//  Copyright © 2017年 李胜军. All rights reserved.
//

#import "WYCTransLationModel.h"
#import "WYCTransDetailModel.h"
@implementation WYCTransLationModel
+(id)groupWithDic:(NSDictionary *)dic
{
    return [[self alloc]initWithDic:dic];
}
-(id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init])
    {
        [self setValuesForKeysWithDictionary:dic];
        NSMutableArray * array = [NSMutableArray new];
        for (NSDictionary * dic in self.Data)
        {
            WYCTransDetailModel * people = [WYCTransDetailModel friendWithDic:dic];
            [array addObject:people];
        }
        _Data = array;
    }
    return self;
}
@end
